/* 此文件为脚本生成，请勿手动修改，有问题请找李良云 */

/* eslint-disable */

// @ts-nocheck

type RequestOptions = {
  requestProps?: Record<string, any>
  apiVersion?: string
}
/* 华天云测 API文档,1.0 */
import http from '@/configs/request'
import {
  UpdateMeasureUnitStateDTO,
  SingleResponseBoolean,
  UpdateMeasureUnitDTO,
  SaveMeasureUnitDTO,
  RemoveMeasureUnitDTO,
  BatchRemoveMeasureUnitDTO,
  UpdateIndustryStateDTO,
  UpdateIndustryDTO,
  SaveIndustryDTO,
  RemoveIndustryDTO,
  BatchRemoveIndustryDTO,
  SystemDistrictCmd,
  MultiResponseSystemDistrictCo,
  SystemDistrictCascadeCmd,
  MultiResponseSystemDistrictCascadeCo,
  UpdateSystemDictDTO,
  SingleResponse,
  AddSystemDictDTO,
  DeleteSystemDictDTO,
  QcTypeUpdateCmd,
  QcTypeStateUpdateCmd,
  QcTypeAddCmd,
  QcTypeIdCmd,
  QcTypeQueryCmd,
  PageResponseQcTypeCo,
  MultiResponseQcTypeCo,
  SingleResponseQcTypeCo,
  UpdateSCostApplyDTO,
  SingleResponseVoid,
  UpdateChangeSCostApplyDTO,
  SCostApplyDTO,
  SingleResponseString,
  ChangeSCostApplyDTO,
  BasicInfoDTO,
  MeasureUnitQuery,
  MultiResponseSystemMeasureUnitRpcCO,
  MeasureUnitPageQuery,
  PageResponseSystemMeasureUnitCO,
  MultiResponseSystemDictRpcCO,
  MultiResponseSystemIndustryRpcCO,
  IndustryPageQuery,
  PageResponseSystemIndustryCO,
  MultiResponseSystemDictTreeCO,
  SingleResponseListSystemDictRpcCO,
  SingleResponseSystemDictRpcCO,
  SingleResponseListQcTypeForSelectConditionCo,
  Demo1PagerQry,
  PageResponseDemo1CO,
  SingleResponseInteger,
  SInspectCostApplyPageQuery,
  SingleResponsePageResponseSInspectCostApplyCO,
  SingleResponseListSInspectCostApplyCO,
  SingleResponseListSInspectCostCO,
  SCostApplyPageQuery,
  PageResponseSCostApplyCO,
  SingleResponseSCostApplyCO,
  SCostPageQuery,
  PageResponseSCostCO,
  SingleResponseMapStringBigDecimal,
  SingleResponseSCostCO
} from './system.type'

/** 更新状态 */
export function systemMeasureUnitUpdateStateApi(
  data: UpdateMeasureUnitStateDTO,
  options?: RequestOptions
): Promise<SingleResponseBoolean> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemMeasureUnit/updateState`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** 更新计量单位 */
export function systemMeasureUnitUpdateMeasureUnitApi(
  data: UpdateMeasureUnitDTO,
  options?: RequestOptions
): Promise<SingleResponseBoolean> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemMeasureUnit/updateMeasureUnit`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** 添加计量单位 */
export function systemMeasureUnitSaveMeasureUnitApi(
  data: SaveMeasureUnitDTO,
  options?: RequestOptions
): Promise<SingleResponseBoolean> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemMeasureUnit/saveMeasureUnit`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** 删除计量单位 */
export function systemMeasureUnitRemoveMeasureUnitApi(
  data: RemoveMeasureUnitDTO,
  options?: RequestOptions
): Promise<SingleResponseBoolean> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemMeasureUnit/removeMeasureUnit`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** 批量删除计量单位 */
export function systemMeasureUnitBatchRemoveMeasureUnitApi(
  data: BatchRemoveMeasureUnitDTO,
  options?: RequestOptions
): Promise<SingleResponseBoolean> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemMeasureUnit/batchRemoveMeasureUnit`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** 更新状态 */
export function systemIndustryUpdateStateApi(
  data: UpdateIndustryStateDTO,
  options?: RequestOptions
): Promise<SingleResponseBoolean> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemIndustry/updateState`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** 更新行业 */
export function systemIndustryUpdateIndustryApi(
  data: UpdateIndustryDTO,
  options?: RequestOptions
): Promise<SingleResponseBoolean> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemIndustry/updateIndustry`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** 添加行业 */
export function systemIndustrySaveIndustryApi(
  data: SaveIndustryDTO,
  options?: RequestOptions
): Promise<SingleResponseBoolean> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemIndustry/saveIndustry`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** 删除行业 */
export function systemIndustryRemoveIndustryApi(
  data: RemoveIndustryDTO,
  options?: RequestOptions
): Promise<SingleResponseBoolean> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemIndustry/removeIndustry`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** 批量删除行业 */
export function systemIndustryBatchRemoveIndustryApi(
  data: BatchRemoveIndustryDTO,
  options?: RequestOptions
): Promise<SingleResponseBoolean> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemIndustry/batchRemoveIndustry`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** 查询行政区划列表 */
export function systemDistrictListApi(
  data: SystemDistrictCmd,
  options?: RequestOptions
): Promise<MultiResponseSystemDistrictCo> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemDistrict/list`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** 行政区划级联查询 */
export function systemDistrictCascadeApi(
  data: SystemDistrictCascadeCmd,
  options?: RequestOptions
): Promise<MultiResponseSystemDistrictCascadeCo> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemDistrict/cascade`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** /修改 */
export function systemDictUpdateApi(
  data: UpdateSystemDictDTO,
  options?: RequestOptions
): Promise<SingleResponse> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemDict/update`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** /新增 */
export function systemDictSaveApi(
  data: AddSystemDictDTO,
  options?: RequestOptions
): Promise<SingleResponse> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemDict/save`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** /删除 */
export function systemDictDeleteByIdApi(
  data: DeleteSystemDictDTO,
  options?: RequestOptions
): Promise<SingleResponse> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemDict/deleteById`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** 更新质控类型 */
export function qualityControlTypeUpdateApi(
  data: QcTypeUpdateCmd,
  options?: RequestOptions
): Promise<SingleResponse> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/qualityControlType/update`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** 更新质控类型状态 */
export function qualityControlTypeUpdateStateApi(
  data: QcTypeStateUpdateCmd,
  options?: RequestOptions
): Promise<SingleResponse> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/qualityControlType/updateState`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** 添加质控类型 */
export function qualityControlTypeSaveApi(
  data: QcTypeAddCmd,
  options?: RequestOptions
): Promise<SingleResponse> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/qualityControlType/save`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** 删除质控类型 */
export function qualityControlTypeRemoveApi(
  data: QcTypeIdCmd,
  options?: RequestOptions
): Promise<SingleResponse> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/qualityControlType/remove`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** 分页查询 */
export function qualityControlTypeQueryApi(
  data: QcTypeQueryCmd,
  options?: RequestOptions
): Promise<PageResponseQcTypeCo> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/qualityControlType/query`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** 根据质控环节查询质控类型 */
export function qualityControlTypeListByProcessIdApi(
  { cmd }: { cmd: QcTypeQueryCmd },
  options?: RequestOptions
): Promise<MultiResponseQcTypeCo> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/qualityControlType/listByProcessId`,
    method: 'post',
    params: { ...cmd },
    data: {},
    ...requestProps
  })
}

/** 根据ID查询质控类型 */
export function qualityControlTypeFindApi(
  data: QcTypeIdCmd,
  options?: RequestOptions
): Promise<SingleResponseQcTypeCo> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/qualityControlType/find`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** /添加申请（修改） */
export function costApplyUpdateApi(
  data: UpdateSCostApplyDTO,
  options?: RequestOptions
): Promise<SingleResponseVoid> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/CostApply/update`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** /变更申请（修改） */
export function costApplyUpdateChangeApplyApi(
  data: UpdateChangeSCostApplyDTO,
  options?: RequestOptions
): Promise<SingleResponseVoid> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/CostApply/updateChangeApply`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** /添加申请（保存） */
export function costApplySaveInsertApplyApi(
  data: SCostApplyDTO,
  options?: RequestOptions
): Promise<SingleResponseString> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/CostApply/saveInsertApply`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** /变更申请（保存） */
export function costApplySaveChangeApplyApi(
  data: ChangeSCostApplyDTO,
  options?: RequestOptions
): Promise<SingleResponseString> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/CostApply/saveChangeApply`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** /添加申请:基础信息（第一步） */
export function costApplyBasicInfoApi(
  data: BasicInfoDTO,
  options?: RequestOptions
): Promise<SingleResponseVoid> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/CostApply/basicInfo`,
    method: 'post',
    params: {},
    data: data,
    ...requestProps
  })
}

/** 查询计量单位列表 */
export function systemMeasureUnitListMeasureUnitApi(
  { measureUnitQuery }: { measureUnitQuery: MeasureUnitQuery },
  options?: RequestOptions
): Promise<MultiResponseSystemMeasureUnitRpcCO> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemMeasureUnit/listMeasureUnit`,
    method: 'get',
    params: { ...measureUnitQuery },
    data: {},
    ...requestProps
  })
}

/** 分页查询计量单位列表 */
export function systemMeasureUnitListMeasureUnitByPageApi(
  { measureUnitPageQuery }: { measureUnitPageQuery: MeasureUnitPageQuery },
  options?: RequestOptions
): Promise<PageResponseSystemMeasureUnitCO> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemMeasureUnit/listMeasureUnitByPage`,
    method: 'get',
    params: { ...measureUnitPageQuery },
    data: {},
    ...requestProps
  })
}

/** 查询计量类别字典列表 */
export function systemMeasureUnitListMeasureCategoryDictApi(
  options?: RequestOptions
): Promise<MultiResponseSystemDictRpcCO> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemMeasureUnit/listMeasureCategoryDict`,
    method: 'get',
    params: {},
    data: {},
    ...requestProps
  })
}

/** 导入计量单位 */
export function systemMeasureUnitImportMeasureUnitApi(
  { folderPath }: { folderPath: string },
  options?: RequestOptions
): Promise<SingleResponseBoolean> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemMeasureUnit/importMeasureUnit`,
    method: 'get',
    params: { folderPath },
    data: {},
    ...requestProps
  })
}

/** 查询行业列表 */
export function systemIndustryListIndustryApi(
  options?: RequestOptions
): Promise<MultiResponseSystemIndustryRpcCO> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemIndustry/listIndustry`,
    method: 'get',
    params: {},
    data: {},
    ...requestProps
  })
}

/** 查询行业类别字典列表 */
export function systemIndustryListIndustryCategoryDictApi(
  options?: RequestOptions
): Promise<MultiResponseSystemDictRpcCO> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemIndustry/listIndustryCategoryDict`,
    method: 'get',
    params: {},
    data: {},
    ...requestProps
  })
}

/** 分页查询行业列表 */
export function systemIndustryListIndustryByPageApi(
  { industryPageQuery }: { industryPageQuery: IndustryPageQuery },
  options?: RequestOptions
): Promise<PageResponseSystemIndustryCO> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemIndustry/listIndustryByPage`,
    method: 'get',
    params: { ...industryPageQuery },
    data: {},
    ...requestProps
  })
}

/** 查询行政区划列表 - 原接口 */
export function systemDistrictListDistrictApi(
  options?: RequestOptions
): Promise<MultiResponseSystemDistrictCo> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemDistrict/listDistrict`,
    method: 'get',
    params: {},
    data: {},
    ...requestProps
  })
}

/** 根据字典类型查询 返回树类型 */
export function systemDictListTreeByDictTypeApi(
  { dictType }: { dictType: string },
  options?: RequestOptions
): Promise<MultiResponseSystemDictTreeCO> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemDict/listTreeByDictType`,
    method: 'get',
    params: { dictType },
    data: {},
    ...requestProps
  })
}

/** 根据字典类型查询 */
export function systemDictListByDictTypeApi(
  { dictType }: { dictType: string },
  options?: RequestOptions
): Promise<SingleResponseListSystemDictRpcCO> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemDict/listByDictType`,
    method: 'get',
    params: { dictType },
    data: {},
    ...requestProps
  })
}

/** 查询所有字典 */
export function systemDictListAllApi(
  options?: RequestOptions
): Promise<SingleResponseListSystemDictRpcCO> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemDict/listAll`,
    method: 'get',
    params: {},
    data: {},
    ...requestProps
  })
}

/** 根据字典类型和名称查询字典 */
export function systemDictGetDictByTypeAndNameApi(
  { dictType, dictName }: { dictType: string; dictName: string },
  options?: RequestOptions
): Promise<SingleResponseSystemDictRpcCO> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/systemDict/getDictByTypeAndName`,
    method: 'get',
    params: { dictName, dictType },
    data: {},
    ...requestProps
  })
}

/** /质控类型下拉框数据查询展示（可名称模糊及启用状态搜索） */
export function qualityControlTypeSearchQcTypeByNameApi(
  { name, state, process }: { name?: string; state?: number; process?: number },
  options?: RequestOptions
): Promise<SingleResponseListQcTypeForSelectConditionCo> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/qualityControlType/searchQcTypeByName`,
    method: 'get',
    params: { process, state, name },
    data: {},
    ...requestProps
  })
}

/** 获取质控环节字典 */
export function qualityControlTypeDictApi(
  options?: RequestOptions
): Promise<MultiResponseSystemDictRpcCO> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/qualityControlType/dict`,
    method: 'get',
    params: {},
    data: {},
    ...requestProps
  })
}

/**  */
export function migrateGbt2260Api(options?: RequestOptions): Promise<any> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/migrate/gbt2260`,
    method: 'get',
    params: {},
    data: {},
    ...requestProps
  })
}

/** listByPager */
export function demo1ListByPagerApi(
  { qry }: { qry: Demo1PagerQry },
  options?: RequestOptions
): Promise<PageResponseDemo1CO> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/demo1/listByPager`,
    method: 'get',
    params: { ...qry },
    data: {},
    ...requestProps
  })
}

/** countByPager */
export function demo1CountByPagerApi(options?: RequestOptions): Promise<SingleResponseInteger> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/demo1/countByPager`,
    method: 'get',
    params: {},
    data: {},
    ...requestProps
  })
}

/** /根据定价申请id分页查询 */
export function inspectCostApplyListByPageApi(
  { pageQuery }: { pageQuery: SInspectCostApplyPageQuery },
  options?: RequestOptions
): Promise<SingleResponsePageResponseSInspectCostApplyCO> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/InspectCostApply/listByPage`,
    method: 'get',
    params: { ...pageQuery },
    data: {},
    ...requestProps
  })
}

/** /根据定价申请id查询全部数据 */
export function inspectCostApplyListByCostIdCostApplyIdApi(
  { costApplyId }: { costApplyId: string },
  options?: RequestOptions
): Promise<SingleResponseListSInspectCostApplyCO> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/InspectCostApply/listByCostId/${costApplyId}`,
    method: 'get',
    params: {},
    data: {},
    ...requestProps
  })
}

/** /根据定价id查询全部数据(变更申请列表回显) */
export function inspectCostNewListByCostIdCostIdApi(
  { costId }: { costId: string },
  options?: RequestOptions
): Promise<SingleResponseListSInspectCostCO> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/InspectCost/newListByCostId/${costId}`,
    method: 'get',
    params: {},
    data: {},
    ...requestProps
  })
}

/** /根据定价id查询全部数据 */
export function inspectCostListByCostIdCostIdApi(
  { costId }: { costId: string },
  options?: RequestOptions
): Promise<SingleResponseListSInspectCostCO> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/InspectCost/listByCostId/${costId}`,
    method: 'get',
    params: {},
    data: {},
    ...requestProps
  })
}

/** /分页查询 */
export function costApplyListByPageApi(
  { pageQuery }: { pageQuery: SCostApplyPageQuery },
  options?: RequestOptions
): Promise<PageResponseSCostApplyCO> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/CostApply/listByPage`,
    method: 'get',
    params: { ...pageQuery },
    data: {},
    ...requestProps
  })
}

/** /统计检测定价变动 */
export function costApplyGetChangeCountApi(
  options?: RequestOptions
): Promise<SingleResponseInteger> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/CostApply/getChangeCount`,
    method: 'get',
    params: {},
    data: {},
    ...requestProps
  })
}

/** /根据id查询数据 */
export function costApplyGetByIdIdApi(
  { id }: { id: string },
  options?: RequestOptions
): Promise<SingleResponseSCostApplyCO> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/CostApply/getById/${id}`,
    method: 'get',
    params: {},
    data: {},
    ...requestProps
  })
}

/** /分页查询 */
export function costListByPageApi(
  { pageQuery }: { pageQuery: SCostPageQuery },
  options?: RequestOptions
): Promise<PageResponseSCostCO> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/Cost/listByPage`,
    method: 'get',
    params: { ...pageQuery },
    data: {},
    ...requestProps
  })
}

/** /根据地区编码获取交通费与附加费 */
export function costGetCostPriceByProvinceCodeRpcProvinceCodeApi(
  { provinceCode }: { provinceCode: string },
  options?: RequestOptions
): Promise<SingleResponseMapStringBigDecimal> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/Cost/getCostPriceByProvinceCodeRpc/${provinceCode}`,
    method: 'get',
    params: {},
    data: {},
    ...requestProps
  })
}

/** /根据id查询数据 */
export function costGetByIdIdApi(
  { id }: { id: string },
  options?: RequestOptions
): Promise<SingleResponseSCostCO> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/Cost/getById/${id}`,
    method: 'get',
    params: {},
    data: {},
    ...requestProps
  })
}

/** /删除 */
export function costApplyDeleteIdApi(
  { id }: { id: string },
  options?: RequestOptions
): Promise<SingleResponseBoolean> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/CostApply/delete/${id}`,
    method: 'delete',
    params: {},
    data: {},
    ...requestProps
  })
}

/** /删除 */
export function costDeleteIdApi(
  { id }: { id: string },
  options?: RequestOptions
): Promise<SingleResponseBoolean> {
  const { requestProps = {}, apiVersion = 'v1' } = options || {}
  return http.request({
    url: `/biz.system/${apiVersion}/Cost/delete/${id}`,
    method: 'delete',
    params: {},
    data: {},
    ...requestProps
  })
}
